package com.pft.container.processors;

import tech.powerjob.worker.core.processor.ProcessResult;
import tech.powerjob.worker.core.processor.TaskContext;
import tech.powerjob.worker.core.processor.sdk.BasicProcessor;

/**
 * By   : ghd.bright
 * Time : 2021/11/22
 * Description:
 */
public class TestProcessors implements BasicProcessor {

    @Override
    public ProcessResult process(TaskContext taskContext) throws Exception {
        System.out.println("这是一个容器的处理器");
        return new ProcessResult(true,"成功执行容器");
    }
}
